$(function(){
      var token=sessionStorage.getItem("token");
      var method="get_share_activity_info";
      var d={};
      d.token=token;
      d.method=method
      $.ajax({
            type:"post",
            url:"http://www.rice.com/app/api/h5_access",
            data:d,
            dataType:"json",
            success:function(result){
                if(result.status=="1"){
                    var data=result.data;
                    $("#act_title").html(data.title);
                    $(".act_table").html(data.content);
                }else if(result.status=="2"){
                    alert(result.message);
                    location.href="login.html";
                }else{
                    alert(result.message);
                }
            }
      })
})